package com.horoscope.astrology.zodiac.signs.free.adapter

import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.horoscope.astrology.zodiac.signs.free.infc.OnItemClickedListener
import com.horoscope.astrology.zodiac.signs.free.infc.SetOnItemClicked

/**
 *  作者    1024
 *  时间    2020/3/9 下午12:13
 *  文件    constellation-android
 *  描述
 */
abstract class BaseAdapter : RecyclerView.Adapter<RecyclerView.ViewHolder>(), SetOnItemClicked {

    var mOnItemClickedListener: OnItemClickedListener? = null

    override fun setOnItemClickedListener(mOnItemClickListener: OnItemClickedListener) {
        mOnItemClickedListener = mOnItemClickListener
    }
}